var _ = require('underscore');



//给定一个list，和 一个用来返回一个在列表排序
var arr = [{name:'a',age:40},{name:'b',age:40}];

var sort = _.indexBy(arr,'age')
console.log(sort)
